<!-- 头部 -->
<!--[if lt IE 8]>
<div class="alert alert-danger" style="margin-bottom: 0">{:lang('_TIP_BROWSER_DEPRECATED_1_')} <strong>{:lang('_TIP_BROWSER_DEPRECATED_2_')}</strong>
    {:lang('_TIP_BROWSER_DEPRECATED_3_')} <a target="_blank"
                                          href="http://browsehappy.com/">{:lang('_TIP_BROWSER_DEPRECATED_4_')}</a>
    {:lang('_TIP_BROWSER_DEPRECATED_5_')}
</div>
<![endif]-->
<nav class="navbar navbar-default navbar-fixed bootsnav">
    <div class="container-fixed">
        <!-- Start Header Navigation -->
        <div class="navbar-header">
            <a class="navbar-brand" href="{:url('/')}">
                <img src="{$logo}" class="logo" alt="">
            </a>
        </div>
        <!-- End Header Navigation -->
        <div class="attr-nav">
            <ul>
                <!--登陆状态-->
                <li>
                    <a id="messages_btn" data-role="open-slider-box" data-toggle="modal" data-target="#msgModal" class="dropdown-toggle text-left" >
                        <span class="icon-bell"></span>
                        <span id="nav_bandage_count"  style="display: none" class="label label-danger" data-role="now-message-num"></span>
                    </a>
                </li>
                <li class="top_spliter"></li>
                <li class="dropdown">
                    <a role="button" class="dropdown-toggle dropdown-toggle-avatar" data-toggle="dropdown">
                    <img src = "{$common_header_user.avatar32}" class="img-circle"/>
                        {$common_header_user.nickname}&nbsp;<i class="icon-chevron-down"></i>
                    </a>
                    <ul class="dropdown-menu pull-right dropdown-user" role="menu">
                        {volist name="user_nav" id="vo"}
                        <li>
                            <a target="{eq name='vo.target' value='1'}_blank{else/}_self{/eq}" href="{:get_nav_url($vo['url'])}">
                                <i class="icon-{$vo.icon}"></i>
                                <span>{$vo.title}</span> 
                                {notempty name="vo.band_text"}
                                <span class="label label-badge rank-label" title="{$vo.band_text}">
                                    {$vo.band_text}
                                </span>
                                {/notempty}
                            </a>
                        </li>
                        {/volist}

                        {:hook('personalMenus')}
                        {if condition="check_auth('admin/Index/index')"}
                            <li><a href="{:url('admin/Index/index')}" target="_blank">
                                {:lang('_MANAGE_BACKGROUND_')}</a>
                            </li>
                        {/if}
                        <li><a event-node="logout">
                                {:lang('_LOGOUT_')}
                            </a>
                        </li>
                    </ul>
                </li>
            </ul>
        </div>

        <div class="nav-func">
            <div class="nav-title">账号设置</div>
        </div>
    </div>   
</nav>
<!-- /头部 -->